<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-heading"><h4>新增区域门禁</h4></div>
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="name">名称:</label>
                        <div class="col-sm-6">
                            <input type="text" name="name" id="name" required="required" placeholder="名称" required="required" class="form-control">
                        </div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="nick_name">描述:</label>
                    		<div class="col-sm-6">
                    			<textarea class="form-control" name="desc"></textarea>
                    		</div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="mobile">编号:</label>
                    		<div class="col-sm-6">
                    			<input type="text"  placeholder="16进制的值，且必须是2的n次方"  data-minlength="1"   required="required"  name="code" id="card_code_num" class="form-control"  value="" />
                    		</div>
                    		<div class="col-sm-1">
                    			<div class="btn btn-danger" id="card_code" onclick="read_card_code_btn('#card_code_num')">读取</div>
                    		</div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="v">是否生物验证:</label>
                        <div class="col-sm-6">
                            <select class="form-control" name="verify_type" id="verify_type">
                                <option value='0'>不验证</option>
                                <option value='1'>指纹验证</option>
                                <option value='2'>人脸验证</option>
                            </select>
                        </div>
                    </div>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}sliding_door/add.js'></script>